package net.qhzw.vip.qiyu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "dts_car_transfer_refund")
public class DtsCarTransferRefund implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 租车订单ID
     */
    @TableField(value = "car_transfer_id")
    private Long carTransferId;

    /**
     * 退款流水号
     */
    @TableField(value = "refund_no")
    private String refundNo;

    /**
     * 退款订单号
     */
    @TableField(value = "transaction_id")
    private String transactionId;

    /**
     * 退款金额
     */
    @TableField(value = "fee")
    private Double fee;

    /**
     * 退款状态 0:为退款 1:已退款
     */
    @TableField(value = "is_refund")
    private Byte isRefund;

    /**
     * 退款时间
     */
    @TableField(value = "refund_time")
    private Date refundTime;


    @TableField(value = "app_id")
    private String appId;


    @TableField(value = "pay_type")
    private int payType;

    /**
     * 订单生成时间
     */
    @TableField(value = "created")
    private Date created;

    private static final long serialVersionUID = 1L;
}